<template>
  <div class="img-container">
    <img :src="fileUrl" />
  </div>
</template>

<script setup>
defineProps({
  fileUrl: { type: String, default: '' }
})
</script>

<style lang="less" scoped>
.img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    max-width: 100%;
    max-height: 900px;
  }
}
</style>
